package com.dongnam.quanly.common.model.compkey;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import com.dongnam.quanly.common.model.HoaDon;
import com.dongnam.quanly.common.model.VatTuHangHoa;

@Embeddable
public class ChiTietHoaDonId implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Column(name = "SoHoaDon")
	private String hoaDon;

	@Column(name = "MaVTHH")
	private String maVthh;

	public ChiTietHoaDonId(String hoaDon, String maVthh) {
		super();
		this.hoaDon = hoaDon;
		this.maVthh = maVthh;
	}

	public String getHoaDon() {
		return hoaDon;
	}

	public void setHoaDon(String hoaDon) {
		this.hoaDon = hoaDon;
	}

	public String getMaVthh() {
		return maVthh;
	}

	public void setMaVthh(String maVthh) {
		this.maVthh = maVthh;
	}

}
